<?php
// $Id$

/**
 * @file
 * Default theme implementation for a Ventrilo channel browser.
 *
 * Available variables:
 * - $view - An array containing channels and clients to display. Possible fields
 *   include: 'channels' and 'clients'.
 */
?>
<table class="ventstatus-view">
  <tbody>
  <?php foreach ($view['clients'] as $idx => $client): ?>
    <?php print $client; ?>
  <?php endforeach; ?>
  <?php foreach ($view['channels'] as $channel_id => $channel): ?>
    <?php print $channel; ?>
  <?php endforeach; ?>
  <?php if (empty($view['clients']) && empty($view['channels'])): ?>
    <tr><td><?php print t('(no channels defined)'); ?></td></tr>
  <?php endif; ?>
  </tbody>
</table>
